<?php $myServer = "localhost";
$myUser = "root";
$myPass = "";
$myDB = "kursus_staf";
$dbconnect = mysql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer " . mysql_error() );
$dbselect = mysql_select_db($myDB, $dbconnect) or die("Trouble selecting the database.");?>